import Koa from "koa";
require('module-alias/register')
const cors = require('koa2-cors')
const app = new Koa();
app.use(cors())
require('&')(app)

//设置监听端口
app.listen(3000, () => {
    console.log("服务器开启 127.0.0.1:3000");
});